﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHISInteroperability.Resources
{

    
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://dhis2.org/schema/dxf/2.0")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://dhis2.org/schema/dxf/2.0", IsNullable = false)]
    public partial class categoryOptionCombo
    {

        private bool externalAccessField;

        private string displayNameField;

        private access accessField;

        private categoryCombo categoryComboField;

        private categoryOption[] categoryOptionsField;

        private object userGroupAccessesField;

        private string lastUpdatedField;

        private string idField;

        private string createdField;

        private string nameField;

        private string shortNameField;

        private string hrefField;

        
        public bool externalAccess
        {
            get
            {
                return this.externalAccessField;
            }
            set
            {
                this.externalAccessField = value;
            }
        }

        
        public string displayName
        {
            get
            {
                return this.displayNameField;
            }
            set
            {
                this.displayNameField = value;
            }
        }

        
        public access access
        {
            get
            {
                return this.accessField;
            }
            set
            {
                this.accessField = value;
            }
        }

        
        public categoryCombo categoryCombo
        {
            get
            {
                return this.categoryComboField;
            }
            set
            {
                this.categoryComboField = value;
            }
        }

        
        [System.Xml.Serialization.XmlArrayItemAttribute("categoryOption", IsNullable = false)]
        public categoryOption[] categoryOptions
        {
            get
            {
                return this.categoryOptionsField;
            }
            set
            {
                this.categoryOptionsField = value;
            }
        }

        
        public object userGroupAccesses
        {
            get
            {
                return this.userGroupAccessesField;
            }
            set
            {
                this.userGroupAccessesField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string lastUpdated
        {
            get
            {
                return this.lastUpdatedField;
            }
            set
            {
                this.lastUpdatedField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string created
        {
            get
            {
                return this.createdField;
            }
            set
            {
                this.createdField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string shortName
        {
            get
            {
                return this.shortNameField;
            }
            set
            {
                this.shortNameField = value;
            }
        }

        
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string href
        {
            get
            {
                return this.hrefField;
            }
            set
            {
                this.hrefField = value;
            }
        }
    }
}
